package com.framework.file.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping(value = {"/"})
public class IndexController {
    /**
     * 跳转到主页
     */
    @GetMapping
    @ApiOperation(value = "首页", hidden = true)
    public String index() {
        String mainUrl = "/doc.html";
        return "forward:" + mainUrl;
    }
}
